package com.bjpower.common.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;


@AllArgsConstructor
@Getter
public enum SysCode {

    OK(1000,"操作成功"),
    REQUEST_PARAM_ERROR(1001,"请求参数错误"),
    DEFAULT_ERROR(1002,"请稍后重试"),
    OPERATOR_LOGIN_NAME_ERROR(2001,"登录用户无效"),
    OPERATOR_LOGIN_PWD_ERROR(2002,"登录密码或者登录名称不可用"),
    OPERATOR_DISABLED_ERROR(2003,"操作员被禁用"),
    MERCH_NAME_REPEAT(3001,"商户名重复"),
    //商户不存在
    MERCH_NOT_EXIST(3002,"商户不存在"),
    //支付产品编号存在
    PRODUCT_CODE_EXIST(3003,"支付产品编号存在"),
    //支付产品名称已存在
    PRODUCT_NAME_EXIST(3004,"支付产品名称已存在"),
    //删除支付产品失败
    DELETE_PRODUCT_FAIL(3005,"删除支付产品失败"),
    PAY_WAY_EXIST(3006,"支付方式已存在" ),
    //商户支付配置已存在
    MERCH_PAY_CONFIG_EXIST(4001,"商户支付配置已存在"),
    ;

    private Integer code;

    private String message;
}
